//
//  GameplayLayer2.h
//  SpaceViking
//
//  Created by gnt on 12/26/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "CCLayer.h"
#import "cocos2d.h"
#import "Boss.h"
#import "PlayerScene2.h"
#import "CCBlade.h"
#import "SneakyButton.h"
#import "SneakyButtonSkinnedBase.h"

@interface GameplayLayer2 : CCLayer {
    CCSpriteBatchNode *enemyWaitingBatchNode;
    CCSpriteBatchNode *enemySlashingBatchNode;
    CCSpriteBatchNode *enemyTakeAHitBatchNode;
    CCSpriteBatchNode *enemyDyingBatchNode;
    CCSpriteBatchNode *enemyDefendingBatchNode;
    CFMutableDictionaryRef map;
    SneakyButton *guardButton;
    CCSprite *katana;
    CCLabelTTF *labelHPBoss;
    CCLabelTTF *labelHPPlayer;
    CCLabelTTF *labelWinOrLose;
    int xDown;
    int yDown;
    int xUp;
    int yUp;
    int deltaX;
    int deltaY;
    float artan;
    CCSprite *slashSword; // up image slash when Player slash Boss
}

- (Boolean) processBossSlashing;
- (void) processPlayerSlashing:(Boolean) isBossTakeAHit;
- (void) processSlashSword;
- (void) processKatana;

@end
